/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.dao;

import java.util.List;
import vn.webapp.dto.DataPage;
import vn.webapp.model.Classes;
import vn.webapp.model.Timetabling;
import vn.webapp.model.Timetablingraw;

public interface TimetablingDAO {

    public List<Timetabling> getAll();
            
    public List<Timetabling> list();
    
    public List<Timetablingraw> listRaw();
    
    public int removeATimetabling(int id);
    
    public Timetablingraw checkExists(int id, int coursingId, int roomId, int day, int slot, int class_id);
    
    public int saveATimetabling(Timetablingraw timetabling);
    
    public void editATimetabling(Timetablingraw timetabling);
    
    public List<Timetabling> filter(int page, int pageSize);
    
    public int count();
    
    public int truncateOldData();
}
